Configuration
The Configuration of SoundPlayer
Properties
Link copied to clipboard
The player will be restarted if the route changed. Practically it means that the player will be updated if user connect/ disconnects audio outputs so the media can be played. Note apple doesn't recommend to play on speaker if user unplugged headphones (https://developer.apple.com/documentation/avfaudio/responding-to-audio-route-changes)